package cn.cheegon.blog.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 项目表
 * </p>
 *
 * @author cheegon
 * @since 2024-06-26
 */
@Getter
@Setter
@TableName("pms_project")
@Tag(name =  "PmsProject对象", description = "项目表")
public class PmsProject implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "标题")
    @TableField("title")
    private String title;

    @Schema(description = "内容(富文本)")
    @TableField("content")
    private String content;

    @TableField("techs")
    private String techs;

    @Schema(description = "图片地址")
    @TableField("pic_url")
    private String picUrl;

    @Schema(description = "地址")
    @TableField("url")
    private String url;

    @Schema(description = "类型")
    @TableField("type")
    private Integer type;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;
}
